Skip to content

Conversation

@Dzejkop
Copy link
Contributor

@Dzejkop Dzejkop commented Oct 30, 2018

Checklist

  1. Changelog entry
  2. Review requested
  3. Version.cs update - if required

@Dzejkop Dzejkop added the v3.x.x label Oct 30, 2018
@Dzejkop Dzejkop self-assigned this Oct 30, 2018
@Dzejkop Dzejkop requested review from genail and witcher112 October 30, 2018 09:14
private const int ManifestVersion = 4;

[MenuItem("Tools/PatchKit Patcher/Manifest/Windows")]
private static void Test(Manifest manifest)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure we want to leave test methods here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These methods serve as a quick way to manually verify if the manifest generates correctly.

I'll change their names though to make it clearer.

File.WriteAllText(targetLocation, JsonConvert.SerializeObject(manifest, Formatting.Indented));
}

[MenuItem("Tools/PatchKit Patcher/Manifest/Windows")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are not removing these methods, can we wrap them inside #if with some new define named PATCHKIT_PATCHER_UNITY_DEV or use another if such already exist?

@witcher112 witcher112 merged commit 9c47178 into dev/v3.x.x Nov 24, 2018
@witcher112 witcher112 deleted the feature/v3.x.x/1074-manifest-capabilities branch November 24, 2018 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants